#pragma once
#include <vector>

namespace tmms 
{
    namespace network
    {
        class EventLoop
        {
        public:
            EventLoop();
            ~EventLoop();

            void addEvent(int fd, int event);
            void removeEvent(int fd, int event);
            void modifyEvent(int fd, int event);
            void loop();

        private:
            std::vector<int> events_;
        }
    }
}